
.diagram-loader {
  background-color: fade(@body-bg, 40%);
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  > div {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 30px;
    top: 50%;
    margin-top: -15px;
  }
}

.diagram-pane {
  height: ~"calc(100vh - 340px)";
}

.diagram-holder {
  position: relative;
  height: 100%;

  .bjs-container > a {
    display: none;
  }

  .highlight {
    .djs-outline {
      stroke: saturate(darken(@alert-success-border, 30%), 30%) !important;
      stroke-width: 2px !important;
      fill: @alert-success-bg !important;
    }

    .djs-visual {
      >:nth-child(1) {
        fill: @alert-success-bg !important;
      }
    }
  }
}
